#ifndef DINAMICANIMATION_H
#define DINAMICANIMATION_H

#include "StaticAnimation.h"

class DinamicAnimation: public StaticAnimation{
protected:
    static float move_speed;
    static int max_dir;
    int cur_dir; //0<=>3

public:
    DinamicAnimation(string name, int num_frame);
    void setDirection(char d);
    char getDirection();
    void setRandomDirection();
    void moveX(int k, float time);
    void moveY(int k, float time);
    string getFramePath();
};
#endif // DINAMICANIMATION_H
